import { fetch } from '@/util/request'

export const indexdata = (param, options) => fetch('apis/indexdata', param, options) // 首页相关信息
export const dataInfo = (param, options) => fetch('apis/dataInfo', param, options) // 套餐详情
export const dataDefaultList = (param, options) => fetch('apis/dataDefaultList', param, options) // 首页默认医院列表
export const hosList = (param, options) => fetch('apis/hosList', param, options) // 医院列表
export const dataList = (param, options) => fetch('apis/dataList', param, options) // 医院套餐列表
export const wxLogin = (param, options) => fetch('apis/wxLogin', param, options) // 登录凭证校验
export const getUserInfo = (param, options) => fetch('apis/getUserInfo', param, options) // 获取小程序用户信息
export const userInfo = (param, options) => fetch('apis/userInfo', param, options) // 根据openid获取用户基本信息
export const getPhoneNumber = (param, options) => fetch('apis/getPhoneNumber', param, options) // 获取小程序手机号
export const orderAdd = (param, options) => fetch('apis/orderAdd', param, options) // 添加体验订单
export const orderInfo = (param, options) => fetch('apis/orderInfo', param, options) // 体检订单详情
export const orderUpdate = (param, options) => fetch('apis/orderUpdate', param, options) // 更新订单信息
export const wxPay = (param, options) => fetch('apis/wxPay', param, options) // 微信小程序支付
export const orders = (param, options) => fetch('apis/orders', param, options) // 我的订单
export const ordersDel = (param, options) => fetch('apis/ordersDel', param, options) // 我的订单删除
export const reserveList = (param, options) => fetch('apis/reserveList', param, options) // 我的预约信息
export const reserveChangeData = (param, options) => fetch('apis/reserveChangeData', param, options) // 体检信息修改预约时间日期集合
export const reserveChangeUpdate = (param, options) => fetch('apis/reserveChangeUpdate', param, options) // 体检信息修改预约时间
export const reserveReport = (param, options) => fetch('apis/reserveReport', param, options) // 我的报告
export const applyRefund = (param, options) => fetch('apis/applyRefund', param, options) // 申请退款


export const medicList = (param, options) => fetch('apis/medicList', param, options) // 获取联系人列表
export const medicAdd = (param, options) => fetch('apis/medicAdd', param, options) // 添加联系人
export const mediceEdit = (param, options) => fetch('apis/mediceEdit', param, options) // 修改联系人
export const medicDel = (param, options) => fetch('apis/medicDel', param, options) // 删除体检人

export const collentAdd = (param, options) => fetch('apis/collentAdd', param, options) // 添加收藏
export const collentDel = (param, options) => fetch('apis/collentDel', param, options) // 取消收藏
export const collent = (param, options) => fetch('apis/collent', param, options) // 收藏列表

export const decideMedic = (param, options) => fetch('apis/decideMedic', param, options) // 判断体检团检绑定信息
export const updateTjOrder = (param, options) => fetch('apis/updateTjOrder', param, options) // 已匹配团检挂账提交更新订单状态

